package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 这是一个攻略关注类,包括记录点赞和收藏
 * @author Jack.Zheng
 */

@Getter@Setter
public class StrategyConcern extends BaseDomain{

    public static final boolean ISNOTVIEWED = false;//未被查看的状态
    public static final boolean ISVIEWED = true;//已被查看的状态

    private Strategy strategy;//攻略

    private User liker;//点赞人

    private User collector;//收藏人

    private Date likeDate;//点赞日期

    private Date collectDate;//收藏日期

    private Boolean isViewed = ISNOTVIEWED;//默认未被查看状态

}